4.2 Entrust JASTK logging

This section contains information on enabling logging for the Entrust JASTK components.

Important: Disable the logging when you have completed diagnosing the issues, as the log files may become very large.

4.2.1 Setting up logging in the connector properties file

You can configure the log level, log file, and log format for MyID's logging of the JASTK connector using the properties file; by default, this file is:

C:\Program Files\Intercede\MyID\Components\Java\jastkconnector.properties

Use a text editor to edit the file. You can set edit the following lines:

4.2.2 Entrust JASTK logging

You can enable logging for the Entrust JASTK component. On the application server, open regedit and browse to the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Intercede\Edefice\Connector\EntrustJASTKConnector

This key contains the following values:

If the entries do not exist, you can create them.

For example:

Copy
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Intercede\Edefice\Connector\EntrustJASTKConnector]
"JavaLocation"="C:\\Program Files\\Intercede\\MyID\\Components\\Java"
"LogFile"="c:\\logs\\java.log"
"LogLevel"=dword:00000005
"CFGLogFile"="c:\\logs\\java_xap.log"
"CFGLogLevel"=dword:00000004

To disable logging, you can set the LogLevel or CFGLogFile to 0, or remove the LogFile or CFGLogFile entry.

Note: The difference between providing no values and a LogLevel or CFGLogFile setting of 0 is that the Java tracing will create or reset the existing log file to a file of length 0, and not produce any logging.

Note: Issuing a single certificate with a LogLevel of 4 produces a file over 500 KB; leaving the diagnostic running has implications for disk space.

4.2.3 Entrust JASTK Connector logging

You can also set up logging for the Entrust JASTK Connector component, which may provide some additional information.

To set up logging for the Entrust JASTK Connector component, open regedit and browse to the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Intercede\Edefice\Trace\EntrustJastkConnector

If the key does not exist, you can create it.

Create a String value with the path to the log file.

For example:

Copy
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Intercede\Edefice\Trace\EntrustJastkConnector]
"Location"="c:\\logs\\jastk.log"

Note: You must ensure that the MyID named COM user has the necessary permissions to create and write to the log file. You can create a file then give the user write permissions if you prefer not to give the user create permissions.

Important: Disable the logging when you have completed diagnosing the issues, as the log file may become very large.